<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
        <ul class="am-list admin-sidebar-list">
            <li>
                <a href="/ads" ><span class="am-icon-home" ></span> 首页</a>
            </li>
            <li>
                <a href="/ads/ad" class="{{$_ad or ''}}">
                    <span class="am-icon-picture-o"></span> 广告列表
                    <span class="am-badge am-badge-secondary am-margin-right am-fr am-radius">{{\App\Models\wechat\Ad::count()}}</span>
                </a>
            </li>
            <li>
                <a href="{{route('ads.ad.create')}}" class="{{$_createAd or ''}}">
                    <span class="am-icon-plus"></span> 添加新广告
                    <span class="am-icon-star am-fr am-margin-right admin-icon-yellow"></span>
                </a>
            </li>
            <li>
                <a href="{{route('ads.category.index')}}" class="{{$_adCategory or ''}}">
                    <span class="am-icon-tv"></span>
                    广告分类
                    <span class="am-badge am-badge-warning am-margin-right am-fr am-radius">{{\App\Models\wechat\ad_category::count()}}</span>
                </a>
            </li>
            <li>
                <a href="/ads/ad/trash" class="{{$_trash or ''}}">
                    <span class="am-icon-trash-o"></span> 广告回收站
                    <span class="am-badge am-badge-danger am-margin-right am-fr am-radius">{{ \App\Models\wechat\Ad::onlyTrashed()->count() }}</span>
                </a>
            </li>
        </ul>

        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div class="am-panel-bd">
                <p><span class="am-icon-bookmark"></span> 思考</p>
                <p>喜爱管教的，就是喜爱知识。－《旧·箴》12：1
                </p>
            </div>
        </div>
        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div class="am-panel-bd">
                <p><span class="am-icon-tag"></span> Holy Bible</p>
                <p>Whoever loves discipline loves knowledge.
                </p>
            </div>
        </div>
    </div>
</div>